<div id="app">
    账户：<input v-model="username" type="text"> <br><br>
    密码：<input v-model="password" type="password"> <br><br>
    <button @click="login">登录</button>

    <button @click="reset">重置</button>

</div>

<script src="./js/vue.js"></script>

<script>
    const app = new Vue({
        el: '#app',
        data: {
            username: '',
            password: ''
        },
    })
</script>